package com.roadjava.demo05.bean;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

public class UserInfo5 {

    @NotNull
    @Valid
    private Grade grade;

    public Grade getGrade() {
        return grade;
    }

    public void setGrade(Grade grade) {
        this.grade = grade;
    }
}